package com.hl.BootMybatis.base.model;
 
import java.io.Serializable;
import java.util.List;

/**
 * @作者:huangliang
 * @时间:2019-12-26 19:12
 * @注释:
 */
public class SimplePage implements Serializable{
	
	protected static final long serialVersionUID = 5136213157391895517L;
	
	protected int pageIndex = 1;// 页码，默认是第一页
	protected int pageSize = 10;// 每页显示的记录数，默认是10
	protected int totalRecord;// 总记录数
	protected List data;// 对应的当前页记录


	public int getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getTotalRecord() {
		return totalRecord;
	}
	public void setTotalRecord(int totalRecord) {
		this.totalRecord = totalRecord;
	}
	public List getData() {
		return data;
	}
	public SimplePage setData(List data) {
		this.data = data;
		return this;
	}
 
}
